﻿using System;
using System.Collections.Generic;
using System.Linq;
using Backend.JYD.Model;
using Backend.JYD.Model.Task;

namespace Backend.JYD.IDAL.Task
{
	public interface ITaskStepInfo
	{
		Int64 AddTaskStepInfo(TaskStepInfo info);

		bool UpdateTaskStepInfo(TaskStepInfo info);

		TaskStepInfo GetTaskStepInfoByTaskDetailId(Int64 taskDetailId);

		PageInfo<TaskStepInfo> GetTaskStepInfoByPage(PageInfo page);

        IList<TaskStepInfo> GetTaskStepInfoByTaskId(Int64 taskId);

        IList<TaskStepInfo> GetTaskFirstStepInfoByTaskIds(IList<Int64> taskIds);

        PageInfo<TaskStepInfo> GetTaskStepInfoByEmpInfo(PageInfo page, Int64 roleIds, Int64 empIds, string status);
	}
}